package skeleton;

import java.util.ArrayList;


public abstract class DigitalGate extends DigitalElement {

    protected ArrayList<Wire> inputList = new ArrayList<Wire>();

    public DigitalGate () {
        Logger.Message("DigitalGate_konstruktor");
    }

    public abstract void gateLogic () throws Exception;

    public void addInput (Wire input) {
        Logger.Message("DigitalGate_addInput args: input " + input.toString());

        inputList.add(input);
    }

}
